#include <iostream>

#define CONV(v) (struct sockaddr *)(v)

enum
{
    SOCKET_ERR = 1,
    BIND_ERR,
    REC_ERR,
    USAGE_ERR
};